package com.yunjian.core.basic.mapper;

import com.yunjian.core.basic.model.SSequence;
import com.yunjian.core.basic.model.SSequenceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SSequenceMapper {

	/**
	 * @mbggenerated
	 */
	int countByExample(SSequenceExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByExample(SSequenceExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * @mbggenerated
	 */
	int insert(SSequence record);

	/**
	 * @mbggenerated
	 */
	int insertSelective(SSequence record);

	/**
	 * @mbggenerated
	 */
	List<SSequence> selectByExample(SSequenceExample example);

	/**
	 * @mbggenerated
	 */
	SSequence selectByPrimaryKey(String id);

	/**
	 * @mbggenerated
	 */
	int updateByExampleSelective(@Param("record") SSequence record,
			@Param("example") SSequenceExample example);

	/**
	 * @mbggenerated
	 */
	int updateByExample(@Param("record") SSequence record,
			@Param("example") SSequenceExample example);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKeySelective(SSequence record);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(SSequence record);
	
	/**
	 * 序列号 +1
	 * @param id
	 * @return
	 */
	int increaseByPrimaryKey(String id);
}